package dao;

import pojo.Departments;
import pojo.Employees;
import pojo.Positions;
import pojo.Salaries;
import util.PageHelper;

import java.util.ArrayList;

public interface IStaffManagementDao {
    //员工管理
    //员工信息添加(参数为员工对象)
    int insertStaff(Employees employees);
    //单人员工信息查看
    ArrayList<Employees> selectStaff(Integer eId);
    //员工信息修改(根据员工ID)
    int updateStaff(Employees employees);
    //员工信息列表查看(动态模糊查询,带分页)
    ArrayList<Employees> selectStaffs(Employees employees, PageHelper pageHelper);
    //查询数据数量
    int getTotalCount(Employees employees);
    //员工信息删除(根据员工ID)
    int delStaff(Integer eId);
    //根据id,薪资对象修改薪资
    int updateSalaryById(Salaries salaries, Integer eId);
}
